package com.jinlong.manage;

import com.jinlong.entity.UserEntity;
import org.json.JSONException;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.Map;

public interface UserServiceManage {

    public void regist( UserEntity userEntity) throws JSONException;

    public String md5PassWordSalt(String phone,String passWord);

    public Map<String,Object> login(UserEntity userEntity);

    public Map<String,Object>getUser(String token);

    public Map<String, Object> findLogin(String openid);
}
